package sz.szsmk.citizencard.ui.newversion.fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.Navigation
import kotlinx.android.synthetic.main.fragment_logofffirstpage.*
import sz.szsmk.citizencard.R

/**
 *  author : hyt
 *  date : 2020/8/12
 *  description :
 */
class LogoffFirstPageFragment : Fragment()  {

    override fun onCreateView(
            inflater: LayoutInflater,
            container: ViewGroup?,
            savedInstanceState: Bundle?
    ): View? {
        val root = inflater.inflate(R.layout.fragment_logofffirstpage, container, false)
        return root
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)

        btn_gologoff.setOnClickListener {
            Navigation.findNavController(view).navigate(R.id.fragment_logoffsecondpage)
        }

    }

}